package rrs;

public class SystemPriceScheme {

         /** variables declaration

	private int percentOff;
	private int totalAmount;
        
        /** create and return a new object of SystemPriceScheme	
 	public SystemPriceScheme(int percentOff, int totalAmount)
         {
          SystemPriceScheme newSystemPriceScheme = new SystemPriceScheme();
         
          newSystemPriceScheme.percentOff = percentOff;
          newTranItem.totalAmount = totalAmount;        

          return newSystemPriceScheme;
         }	
       
       /** return total price after system discount  
       public double getPrice(int totalAmount)
        {
	 return totalAmount - ((percentOff/100) * totalAmount);
        }
   
   
}
